﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DispatchAssist.BusinessLogical.Model
{
    /// <summary>
    /// SystemLog
    /// </summary>
    public class QuerySystemLog
    {

        /// <summary>
        /// SystemLog 构造函数
        /// </summary>
        public QuerySystemLog()
        { }


        /// <summary>
        /// SystemLog OR映射构造函数
        /// </summary>
        public QuerySystemLog(System.Data.IDataReader dr)
        {
            this.SystemLogID = (Guid)dr["SystemLogID"];
            this.LogTime = Convert.ToDateTime(dr["LogTime"]);
            this.Method = Convert.ToString(dr["Method"]);
            this.Parameters = Convert.ToString(dr["Parameters"]);
            this.LogContent = Convert.ToString(dr["LogContent"]);
            this.Description = Convert.ToString(dr["Description"]);
            this.SeatID = (Guid)dr["SeatID"];
            this.SeatName = Convert.ToString(dr["SeatName"]);
            this.UserID = (Guid)dr["UserID"];
            this.UserName = Convert.ToString(dr["UserName"]);
            this.DeleteFlag = Convert.ToBoolean(dr["DeleteFlag"]);

        }


        /// <summary>
        /// 唯一标识
        /// </summary>
        public Guid SystemLogID { get; set; }

        /// <summary>
        /// 日志时间
        /// </summary>
        public DateTime LogTime { get; set; }

        /// <summary>
        /// 席位ID
        /// </summary>
        public Guid SeatID { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public Guid UserID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Method { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Parameters { get; set; }

        /// <summary>
        /// 日志内容
        /// </summary>
        public string LogContent { get; set; }

        /// <summary>
        /// 描述信息
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 逻辑删除标记
        /// </summary>
        public bool DeleteFlag { get; set; }

        /// <summary>
        /// 席位名
        /// </summary>
        public string SeatName { get; set; }

    }
}

